﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Text;
using ProcessControl;

namespace OtherCaptitalReim    
{ 
    public partial class NewRequest : System.Web.UI.Page
    {
       
        protected void Page_Load(object sender, EventArgs e)
        {
        }

        protected void Button1_Click(object sender, EventArgs e)
        {

            UserInfo_TY userInfo = Page.FindControl("UserInfo1") as UserInfo_TY;
            userInfo.AddNewRow(fld_detail_PROC_OTHERCAPTITA_DETAIL);
           // DivContract.Attributes.Add("style", "display:none");
        }

        protected void fld_PROC_OTHERCAPTITA_PROC_OTHERCAPTITA_DETAIL_ItemCommand(object source, RepeaterCommandEventArgs e)
        {
            UserInfo_TY userInfo = Page.FindControl("UserInfo1") as UserInfo_TY;
            userInfo.DeleteRow(fld_detail_PROC_OTHERCAPTITA_DETAIL, e);
            //DivContract.Attributes.Add("style", "display:none");
        }

    
    }
}